<!-- INCLUDE sv_overall_header.html -->

<div class="panel" > 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>Prophet System</h2> 
	</div>	
</div>

<div class="panel" > 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>TAIEX</h2> 
	</div>
	
	<table border="0" cellpadding="10" cellspacing="10">
		<tr>
			<td>FROM:{TAIEX_FIRST_DATE} </td>
		</tr>
		<tr>
			<td>TO:{TAIEX_LAST_DATE}</td>
		</tr>
		<tr>
			<td><a href='prophet_get_TWSE_data.php' target="_blank" > Get Latest Report </a> <BR></td>
		</tr>
	</table>
	

</div>



<div class="panel" > 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>Corp to Watch </h2> 
	</div>
		
	
	
	<a href='prophet_get_stock_data.php?get_all_data_for_corp_to_watch=1' target="_blank" > STEP 1: Get All Data of the Corps to Watch (only_add_new_record) </a> <BR><BR>
	
	<a href='prophet_get_stock_data.php?gen_local_report_for_corps_to_watch=1' target="_blank" > STEP 2: Generate local report for the Corps to Watch </a> <BR><BR>
	<p>Local report path: {LOCAL_REPORT_PATH} </p> <BR> <BR>
		
	
	<table border="0" cellpadding="10" cellspacing="10" id="table-6">
		<tr>
			<td>CORP ID </td>			
			<td>CORP NAME </td>			
			<td> Data Available from </td>
			<td> To </td>
			<td> </td>
			<td> </td>
			<td> </td>
			<td> </td>
		</tr>
		<!-- BEGIN corp_to_watch_list -->		
		<tr>
			<td> {corp_to_watch_list.CORP_ID} 	</td>
			<td> {corp_to_watch_list.CORP_NAME} 	</td>
			
			<td> {corp_to_watch_list.FIRST_DATE}	</td>
			<td> {corp_to_watch_list.LAST_DATE}	</td>
			
			<td>
				<a href='prophet_get_stock_data.php?get_stock_data=1&update_from_the_beginning=1&corp_id={corp_to_watch_list.CORP_ID}' target="_blank" > 
					Get Stock Data <BR>(from the very beginning) 
				</a> 
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?gen_corp_report=1&corp_id={corp_to_watch_list.CORP_ID}' target="_blank" > 
					Gen Report   
				</a> <BR>
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?get_stock_data=1&gen_corp_report=1&corp_id={corp_to_watch_list.CORP_ID}' target="_blank" > 
					Get Stock Data(only_add_new_record) <BR>and Gen Report   
				</a> <BR>
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?ANN=1&corp_id={corp_to_watch_list.CORP_ID}' target="_blank" > 
					ANN   
				</a> <BR>
			</td>
		</tr>
		<!-- END corp_to_watch_list -->
	
	</table>
	
	<BR><BR><BR>
	
	<p> Add Corp to Watch</p>
	<table >
	<form name="add_corp_to_watch_form" method="post" action="{S_ADD_CORP_TO_WATCH_ACTION}"  >
		
		<fieldset class="quick-login">
		
		<tr title="{L_SV_COMMON_TIP_CORP_ID}">
			<td style="width:7em;">
			<p>
				<label for="corp_id">{L_SV_STOCK_ID}:</label>&nbsp;
			</p></td>
			<td style="width:20em;">
				
				<input type="text" name="corp_id" id="corp_id" style="width:6em;" class="inputbox" title="{L_SV_STOCK_ID}" onchange="get_corp_name()" value="{PREVIOUS_CORP_ID}"/>  
			
		
		<tr>
			<td/>
			<td><p>
		
			<input type="submit" name="login" value="{L_SV_SEND}" class="button2" />
			</p></td>
		</tr>
		</fieldset>
	</form>
	</table>
	
</div>


<div class="panel" > 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>Big Individual Stock - members of 0050 (> 1%) </h2> 
	</div>
		
	
	
	<a href='prophet_get_stock_data.php?get_all_big_stock_data=1' target="_blank" > STEP 1 : Get All Big Stock Data (only_add_new_record) </a> <BR><BR>
	
	<a href='prophet_get_stock_data.php?gen_local_report_for_all_big_corps=1' target="_blank" > STEP 2 : Generate local report for all big corps </a> <BR><BR>
	<p>Local report path: {LOCAL_REPORT_PATH} </p> <BR> <BR>
		
	
	<table border="0" cellpadding="10" cellspacing="10" id="table-6">
		<tr>
			<td>CORP ID </td>			
			<td>CORP NAME </td>			
			<td> Data Available from </td>
			<td> To </td>
			<td> </td>
			<td> </td>
			<td> </td>
			<td> </td>
		</tr>
		<!-- BEGIN corp_list -->		
		<tr>
			<td> {corp_list.CORP_ID} 	</td>
			<td> {corp_list.CORP_NAME} 	</td>
			
			<td> {corp_list.FIRST_DATE}	</td>
			<td> {corp_list.LAST_DATE}	</td>
			
			<td>
				<a href='prophet_get_stock_data.php?get_stock_data=1&update_from_the_beginning=1&corp_id={corp_list.CORP_ID}' target="_blank" > 
					Get Stock Data <BR>(from the very beginning) 
				</a> 
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?gen_corp_report=1&corp_id={corp_list.CORP_ID}' target="_blank" > 
					Gen Report   
				</a> <BR>
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?get_stock_data=1&gen_corp_report=1&corp_id={corp_list.CORP_ID}' target="_blank" > 
					Get Stock Data(only_add_new_record) <BR>and Gen Report   
				</a> <BR>
			</td>
			
			<td>
				<a href='prophet_get_stock_data.php?ANN=1&corp_id={corp_list.CORP_ID}' target="_blank" > 
					ANN   
				</a> <BR>
			</td>
		</tr>
		<!-- END corp_list -->
	
	</table>
	

</div>


<div class="panel" > 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>All stock  </h2> 
	</div>
		
	<a href='prophet_get_stock_data.php?get_all_stock_data=1' target="_blank" > STEP 1 : Get All  Stock Data (only_add_new_record) </a> <BR><BR>
	
	<a href='prophet_get_stock_data.php?gen_local_report_for_all_corps=1' target="_blank" > STEP 2 : Generate local report for all  corps </a>
	<p>Local report path: {LOCAL_REPORT_PATH} </p> <BR> <BR>
	

</div>

<!-- INCLUDE sv_overall_footer.html -->